﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="LanguageFile" elementFormDefault="qualified" xmlns="languagefile.xsd" attributeFormDefault="unqualified" xmlns:mstns="languagefile.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="languagefile.xsd">
  <xs:element name="LanguageFile">    
    <xs:complexType>
      <xs:sequence>
        <xs:element name="head" type="mstns:header" minOccurs="1" maxOccurs="1" />
        <xs:element name="menuitems" type="mstns:StringItems" minOccurs="1" maxOccurs="1"/>
        <xs:element name="strings" type="mstns:StringItems" minOccurs="1" maxOccurs="1" />
      </xs:sequence>
      <xs:attribute name="Language" type="xs:string" />
      <xs:attribute name="Version" type="xs:string" />
    </xs:complexType>
  </xs:element>
  <xs:complexType name="header">
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="Language" type="xs:string" />
        <xs:attribute name="Version" type="xs:string" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="StringItems">
    <xs:sequence>
      <xs:element name="AddStringItem" type="StringItem" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="StringItem">
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="Key" type="xs:string" />
        <xs:attribute name="Text" type="xs:string" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>  
</xs:schema>
